//
//  USAddOurListSubListHeader.m
//  us
//
//  Created by karry on 2025/5/7.
//

#import "USAddOurListSubListHeader.h"

@implementation USAddOurListSubListHeader

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (void)awakeFromNib{
    [super awakeFromNib];
    self.progressView.layer.cornerRadius = 4.5;
    self.progressView.layer.masksToBounds = YES;
    self.btn.tintColor = UIColor.blackColor;
    self.progressLab.textColor = [UIColor colorWithWhite:0 alpha:0.2];
}


- (void)setColor:(UIColor *)color{
    _color = color;
    UIColor *d_color = [color jk_darkenColor:0.3];
    self.titleLab.textColor = d_color;
    
}

@end
